package com.hk.commons.entity.view;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "userview")
public class UserView implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8129924314295741021L;


	@Id
	private Long userId;
	
	//用户真实姓名
	private String userRealName;
	
	//用户手机号
	private String userPhone;

	//用户所属渠道
	private Integer userChannel;

	
	//用户推荐码
	private String recommendCode;

	//是否绑卡
	private Integer  tieCard;

	//是否为理财师
	private Integer  isInside;

	//用户组织架构id
	private Integer userOrgId;
	
	//用户组织架构Code
	private String userOrgCode;

	//用户组织架构名称
	private String userOrgName;

	//理财师的手机号
	private String finPhone;
	
	//理财师的真实姓名
	private String finUserRealName;
	
	//理财师所属渠道
	private Integer finChannel;
	
	//理财师组织架构id
	private Integer finOrgId;
	
	//理财师组织架构Code
	private String finOrgCode;
	
	//理财师组织机构全名
	private String finOrgName;

	//注册人
	private Long creator;

	//级别
	private Integer level;

	//离职时间
	private Long LeaveTime;

	//注册时间
	private Long registCts;

	private Integer onType;

	/**
	 * 是否已销户,0:未销户;1:已销户
	 */
	private Integer closeAccount;


	public Integer getTieCard() {
		return tieCard;
	}

	public void setTieCard(Integer tieCard) {
		this.tieCard = tieCard;
	}

	public Integer getIsInside() {
		return isInside;
	}

	public void setIsInside(Integer isInside) {
		this.isInside = isInside;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getLeaveTime() {
		return LeaveTime;
	}

	public void setLeaveTime(Long leaveTime) {
		LeaveTime = leaveTime;
	}

	public Long getRegistCts() {
		return registCts;
	}

	public void setRegistCts(Long registCts) {
		this.registCts = registCts;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserRealName() {
		return userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getRecommendCode() {
		return recommendCode;
	}

	public void setRecommendCode(String recommendCode) {
		this.recommendCode = recommendCode;
	}

	public Integer getUserChannel() {
		return userChannel;
	}

	public void setUserChannel(Integer userChannel) {
		this.userChannel = userChannel;
	}

	public Integer getUserOrgId() {
		return userOrgId;
	}

	public void setUserOrgId(Integer userOrgId) {
		this.userOrgId = userOrgId;
	}

	public String getUserOrgCode() {
		return userOrgCode;
	}

	public void setUserOrgCode(String userOrgCode) {
		this.userOrgCode = userOrgCode;
	}

	public String getUserOrgName() {
		return userOrgName;
	}

	public void setUserOrgName(String userOrgName) {
		this.userOrgName = userOrgName;
	}

	public String getFinPhone() {
		return finPhone;
	}

	public void setFinPhone(String finPhone) {
		this.finPhone = finPhone;
	}

	public String getFinUserRealName() {
		return finUserRealName;
	}

	public void setFinUserRealName(String finUserRealName) {
		this.finUserRealName = finUserRealName;
	}

	public Integer getFinChannel() {
		return finChannel;
	}

	public void setFinChannel(Integer finChannel) {
		this.finChannel = finChannel;
	}

	public Integer getFinOrgId() {
		return finOrgId;
	}

	public void setFinOrgId(Integer finOrgId) {
		this.finOrgId = finOrgId;
	}

	public String getFinOrgCode() {
		return finOrgCode;
	}

	public void setFinOrgCode(String finOrgCode) {
		this.finOrgCode = finOrgCode;
	}

	public String getFinOrgName() {
		return finOrgName;
	}

	public void setFinOrgName(String finOrgName) {
		this.finOrgName = finOrgName;
	}

	public Integer getOnType() {
		return onType;
	}

	public void setOnType(Integer onType) {
		this.onType = onType;
	}

	public Integer getCloseAccount() {
		return closeAccount;
	}

	public void setCloseAccount(Integer closeAccount) {
		this.closeAccount = closeAccount;
	}

	@Override
	public String toString() {
		return "UserView [userId=" + userId + ", userRealName=" + userRealName
				+ ", userPhone=" + userPhone + ", recommendCode="
				+ recommendCode + ", userChannel=" + userChannel
				+ ", userOrgId=" + userOrgId + ", userOrgCode=" + userOrgCode
				+ ", userOrgName=" + userOrgName + ", finPhone=" + finPhone
				+ ", finUserRealName=" + finUserRealName + ", finChannel="
				+ finChannel + ", finOrgId=" + finOrgId + ", finOrgCode="
				+ finOrgCode + ", finOrgName=" + finOrgName + "]";
	}
	
	
	
}
